home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / pc_board / ulp092b.zip / ULP.CFG < prev    next >
Text File  |  1992-03-29  |  17KB  |  375 lines

  1. ;
  2. ;
  3. ;    ┌───────────────────┐
  4. ;    │                   │ ║       UpLoadProcessor Configuration File
  5. ;    │    ╥   ╥ ╥        │ ║
  6. ;    │    ║   ║ ║ ╓──╖   │ ║                 Version 0.92ß
  7. ;    │    ║   ║ ║ ║  ║   │ ║
  8. ;    │    ╙───╜ ╨ ║──╜   │ ║        (c) Copyright 1992 - Stacy Smith
  9. ;    │            ╨      │ ║
  10. ;    └───────────────────┘ ║
  11. ;      ════════════════════╝
  12. ;
  13. ;        The latest version of ULP can always be obtained from my BBS:
  14. ;
  15. ;                        The Bloom Beacon-Picayune BBS
  16. ;                               (804) 525-9760
  17. ;                     300-14,400 Baud (USRobotics V.32bis)
  18. ;                 FidoNet 1:276/112 (magic tags ULP and ULP286)
  19. ;
  20. ; NOTE: I have tried to make this configuration file as flexible as possible,
  21. ;       but it would probably be a good idea to not rearrange it too much if
  22. ;       it can be avoided...
  23. ;
  24. ;
  25. ; ╔════════════════════════════════════╗
  26. ; ║   General Options And Parameters   ║
  27. ; ╚════════════════════════════════════╝
  28. ;
  29. ; The registration code, BBS name and sysop name EXACTLY as provided to you on
  30. ; your registration letter. If this is an unregistered version, comment out
  31. ; these lines, or don't change them. Note that these are case-sensitive!
  32. REG_CODE     0000000000
  33. BBS_NAME     UNREGISTERED
  34. SYSOP_NAME   SYSOP
  35. ; The size of the disk I/O buffers you wish to allocate in bytes (valid values
  36. ; are between 2048 bytes and 16384 bytes). Optimal performance is obtained with
  37. ; a value that is a multiple of 2048 (a typical hard disk cluster size).
  38. DISK_BUFFER  8192
  39. ; The path/filename of the log file for ULP to record its activities. Comment
  40. ; out if you don't want disk logging.
  41. LOG_FILE     c:\ulp\ulp.log
  42. ; If you want ULP and ULPTEST to record their statistics on each archive
  43. ; processed to the log file, add the VERBOSE keyword. If you only want errors
  44. ; and summary statistics, use the TERSE keyword or comment the line out.
  45. LOG_MODE     verbose
  46. ; If you want ULP to insert internal description files (FILE_ID.DIZ or
  47. ; DESC.SDI), type YES; if not, type NO or comment the line out.
  48. INT_DESC     yes
  49. ; If ULP is to insert internal description files, the following parameter
  50. ; is the maximum number of lines that ULP will insert from the description
  51. ; file. This defaults to 10 if the line is commented out.
  52. DESC_LIMIT   10
  53. ; If you want ULPDB to use a specific directory for decompressing archives
  54. ; while generating the database, place the pathname (including the trailing
  55. ; backslash). This directory must exist. If you do not desire to use a
  56. ; specific directory, comment it out (ULPDB will extract at its current
  57. ; location on disk).
  58. WORK_DIR     c:\temp\
  59. ; This defines how ULP dispositions archives found to have an error other than
  60. ; a file check failure (such as ZIP CRC). If you want ULP to delete the archive
  61. ; and description, type DELETE; if you want ULP to rename the archive to a .ERR
  62. ; extension, type RENAME or comment the line out.
  63. ERR_DISP     rename
  64. ; This defines how ULP dispositions archives that fail a file check, such as a
  65. ; virus scan. If you want ULP to delete the archive and description, type
  66. ; DELETE; if you want ULP to rename the archive to a .VRS extension, type
  67. ; RENAME or comment the line out.
  68. VIRUS_DISP   delete
  69. ; If you want ULP and ULPTEST to screen ARC, PAK, ZIP and ZIP SFX archives for
  70. ; DOS reserved keywords prior to unpacking them, type YES or comment the line
  71. ; out, otherwise, type NO. This will prevent someone from hanging your system
  72. ; by hex-editing one of these archives and replacing a filename with a DOS
  73. ; reserved device keyword.
  74. SCREEN_ARC   yes
  75. ; The command line for an ASCII file viewing (or editing) utility. This will
  76. ; be called by ULPDB in order to view an archive information file generated
  77. ; for the purposes of archive review. Place the @FILES@ variable where the
  78. ; filename is to be entered on the utility's command line.
  79. VIEWER       list @FILES@
  80. ;
  81. ;
  82. ; ╔════════════════════════╗
  83. ; ║   Upload Directories   ║
  84. ; ╚════════════════════════╝
  85. ;
  86. ; Each pair of upload directories (one private, and one public), is denoted by
  87. ; UL_DIR x, where x is a sequential number. Up to 10 directory pairs can be
  88. ; processed by ULP. The next 6 keywords are required after the UL_DIR statement;
  89. ; do not comment any of them out or insert other parameters or comments in
  90. ; between them:
  91. ; UL_DIR      = denotes a new directory pair.
  92. ; SOURCE_PATH = the directory where the private uploads are placed by the BBS.
  93. ;               Note: this must include the trailing backslash!
  94. ; SOURCE_LIST = the private upload directory list file that contains the archive
  95. ;               descriptions, including the path.
  96. ; SOURCE_HDR  = the number of lines to ignore at the beginning of the private
  97. ;               upload directory list file (for headers, detachable header
  98. ;               filespecs, etc.)
  99. ; DEST_PATH   = the directory where the public uploads are placed by ULP after
  100. ;               successful processing. Note: this must include the trailing
  101. ;               backslash!
  102. ; DEST_LIST   = the public upload directory list file that contains the archive
  103. ;               descriptions, including the path. ULP will append this file
  104. ;               with the descriptions of successfully processed files.
  105. ; DEST_HDR    = the number of lines to ignore at the beginning of the public
  106. ;               upload directory list file (for headers, detachable header
  107. ;               filespecs, etc.)
  108. UL_DIR       1
  109. SOURCE_PATH  c:\privul\
  110. SOURCE_LIST  c:\pcb\gen\prvuldir
  111. SOURCE_HDR   1
  112. DEST_PATH    c:\publul\
  113. DEST_LIST    c:\pcb\gen\newuldir
  114. DEST_HDR     1
  115. ;
  116. ;
  117. ; ╔════════════════════════╗
  118. ; ║   Age Limit Checking   ║
  119. ; ╚════════════════════════╝
  120. ;
  121. ; If you want ULP to fail an archive based on the date of its most recent
  122. ; file, type YES; if not, type NO or comment the line out.
  123. AGE_CHK      yes
  124. ; The maximum age in months, that you will accept as an upload.
  125. AGE_LIMIT    48
  126. ;
  127. ;
  128. ; ╔═════════════════════════════╗
  129. ; ║   Archiving Control Flags   ║
  130. ; ╚═════════════════════════════╝
  131. ;
  132. ; If you want ULP to convert the archive to a default archiving format of your
  133. ; choice, type YES; if not, type NO or comment the line out.
  134. ARC_CVT      yes
  135. ; If you want ULP to convert any internal archives within the archive to your
  136. ; default archiving format, type YES; if not, type NO or comment the line out.
  137. ; This may save some disk space, but will potentially mess up any automatic
  138. ; installation programs/batch files contained within the archive.
  139. ARC_NEST_CVT no
  140. ; If you want ULP to convert a self-extracting (SFX) archive to your default
  141. ; archiving format, type YES; if not, type NO or comment the line out. This
  142. ; also may save some disk space, but can cause problems. For example, if you
  143. ; don't have PKZ110.EXE on your BBS, a novice user has no way of obtaining the
  144. ; PKZIP/PKUNZIP utilities from your BBS.
  145. SFX_CVT      no
  146. ; If you want ULP to keep ZIP archives with authenticity verification stamps
  147. ; (-AV) regardless of the other archiving control flags, then set this to 'yes'
  148. ; or comment it out. If you set this flag to 'no', then the archive will be
  149. ; recompressed per the other control flags.
  150. KEEP_AV      yes
  151. ; If you want ULP to keep ARJ archives with security envelopes (similar to a
  152. ; ZIP -AV) regardless of the other archiving control flags, then set this
  153. ; to 'yes' or comment it out. If you set this flag to 'no', then the archive
  154. ; will be recompressed per the other control flags.
  155. KEEP_ENV     yes
  156. ;
  157. ;
  158. ; ╔══════════════════════════╗
  159. ; ║   Archiver Definitions   ║
  160. ; ╚══════════════════════════╝
  161. ;
  162. ; Each archiver, is denoted by ARCHIVER x, where x is a sequential number. Up
  163. ; to 10 archivers can be executed by ULP. ULP is capable of automatically
  164. ; detecting ARC, ARJ, HYP, LZH, PAK, ZIP and ZOO archives. The next 6 keywords
  165. ; are required after the ARCHIVER statement; do not comment any of them out or
  166. ; insert other parameters or comments between them. I would also advise
  167. ; against changing the command options I have set, unless you have need to do
  168. ; so. Most are to ensure uninterrupted processing (such as '/m1' in LHA).
  169. ; ARCHIVER    = denotes a new archiver definition.
  170. ; ARC_EXT     = the extension for this particular archiving format.
  171. ; ARC_PRIMARY = if this is the default archiving format you use on your BBS, 
  172. ;               type YES; if not, type NO.
  173. ; ARC_PACK    = the command line to pack archives, including all command-line
  174. ;               switches desired. Place the variable @ARCHIVE@ where the
  175. ;               filename is to be inserted in the command line and @FILES@ 
  176. ;               where the filespec is to be inserted. If you want a comment to
  177. ;               be inserted, you must include it in the command-line switches.
  178. ; ARC_UNPACK  = the command line to unpack archives, including all command-line
  179. ;               switches desired. Place the variable @ARCHIVE@ where the 
  180. ;               filename is to be inserted in the command line.
  181. ; ARC_TEST    = the command line to test archives, including all command-line
  182. ;               switches desired. Place the variable @ARCHIVE@ where the
  183. ;               filename is to be inserted in the command line.
  184. ; ARC_ERR     = the errorlevel that the archiver returns upon success. This
  185. ;               information should be available in the program's documentation.
  186. ARCHIVER     1
  187. ARC_EXT      arc
  188. ARC_PRIMARY  no
  189. ARC_PACK     pkpak -a @ARCHIVE@ @FILES@
  190. ARC_UNPACK   pkunpak -r @ARCHIVE@
  191. ARC_TEST     pkunpak -t @ARCHIVE@
  192. ARC_ERR      0
  193. ;
  194. ARCHIVER     2
  195. ARC_EXT      arj
  196. ARC_PRIMARY  yes
  197. ARC_PACK     arj a -e -jm -m1 -zc:\ulp\comment.txt @ARCHIVE@ @FILES@
  198. ARC_UNPACK   arj e -y @ARCHIVE@
  199. ARC_TEST     arj t @ARCHIVE@
  200. ARC_ERR      0
  201. ;
  202. ARCHIVER     3
  203. ARC_EXT      hyp
  204. ARC_PRIMARY  no
  205. ARC_PACK     hyper -a @ARCHIVE@ @FILES@
  206. ARC_UNPACK   hyper -x @ARCHIVE@
  207. ARC_TEST     hyper -v @ARCHIVE@
  208. ARC_ERR      0
  209. ;
  210. ARCHIVER     4
  211. ARC_EXT      lzh
  212. ARC_PRIMARY  no
  213. ARC_PACK     lha a /m1 @ARCHIVE@ @FILES@
  214. ARC_UNPACK   lha e /m1 @ARCHIVE@
  215. ARC_TEST     lha t /m1 @ARCHIVE@
  216. ARC_ERR      0
  217. ;
  218. ARCHIVER     5
  219. ARC_EXT      pak
  220. ARC_PRIMARY  no
  221. ARC_PACK     pak a /h /wa @ARCHIVE@ @FILES@
  222. ARC_UNPACK   pak e /wa @ARCHIVE@
  223. ARC_TEST     pak t /wa @ARCHIVE@
  224. ARC_ERR      0
  225. ;
  226. ARCHIVER     6
  227. ARC_EXT      zip
  228. ARC_PRIMARY  no
  229. ARC_PACK     pkzip -a -ex -z<c:\ulp\comment.txt @ARCHIVE@ @FILES@
  230. ARC_UNPACK   pkunzip -o @ARCHIVE@
  231. ARC_TEST     pkunzip -t @ARCHIVE@
  232. ARC_ERR      0
  233. ;
  234. ARCHIVER     7
  235. ARC_EXT      zoo
  236. ARC_PRIMARY  no
  237. ARC_PACK     zoo ahP @ARCHIVE@ @FILES@
  238. ARC_UNPACK   zoo e @ARCHIVE@
  239. ARC_TEST     zoo t @ARCHIVE@
  240. ARC_ERR      0
  241. ;
  242. ;
  243. ; ╔═══════════════════════════════════╗
  244. ; ║   Uncompressed Files to Process   ║
  245. ; ╚═══════════════════════════════════╝
  246. ;
  247. ; ULP can process selected uncompressed uploads, using the PROC_EXT option.
  248. ; Up to 10 uncompressed file types can be specified by extension. DO NOT
  249. ; use any compression format extensions (ARJ, ZIP, etc.). If you do not
  250. ; want to process any uncompressed uploads, simply remove or comment out
  251. ; the lines.
  252. PROC_EXT     com
  253. PROC_EXT     doc
  254. PROC_EXT     txt
  255. ;
  256. ;
  257. ; ╔══════════════════════════════════════════╗
  258. ; ║   File Checking (Virus Scanning, etc.)   ║
  259. ; ╚══════════════════════════════════════════╝
  260. ;
  261. ; Each file checker is denoted by FILE_CHECKER x, where x is a sequential
  262. ; number. Up to 5 file checking programs can be executed by ULP. The next 2
  263. ; keywords are required after the FILE_CHECKER statement; do not comment them
  264. ; out or insert other parameters or comments in between them.
  265. ; FILE_CHECKER = denotes a new file checking/virus program definition.
  266. ; FILE_CHK_CMD = the command line to execute each file checker, including all
  267. ;                command-line switches. Place the variable @FILES@ where the
  268. ;                filespec is to be placed on the command line.
  269. ; FILE_CHK_ERR = the errorlevel that the file checking program returns upon
  270. ;                success. This information should be available in the
  271. ;                program's documentation.
  272. FILE_CHECKER 1
  273. FILE_CHK_CMD scan /a /nomem /nopause @FILES@
  274. FILE_CHK_ERR 0
  275. ;
  276. ;
  277. ; ╔═══════════════════════╗
  278. ; ║   GIF File Checking   ║
  279. ; ╚═══════════════════════╝
  280. ;
  281. ; Each GIF file checker is denoted by GIF_CHECKER x, where x is a sequential
  282. ; number. Up to 5 GIF file checking programs can be executed by ULP. The next
  283. ; 2 keywords are required after the GIF_CHECKER statement; do not comment
  284. ; them out or insert other parameters or comments in between them.
  285. ; GIF_CHECKER = denotes a new file checking/virus program definition.
  286. ; GIF_CHK_CMD = the command line to execute each GIF file checker, including
  287. ;               all command-line switches. Place the variable @FILES@ where
  288. ;               the filespec is to be placed on the command line.
  289. ; GIF_CHK_ERR = the errorlevel that the GIF file checking program returns
  290. ;               upon success. This information should be available in the
  291. ;               program's documentation.
  292. GIF_CHECKER  1
  293. GIF_CHK_CMD  c:\giftest\giftest /b:0 @FILES@
  294. GIF_CHK_ERR  0
  295. ;
  296. ;
  297. ; ╔═════════════════════════════════════════╗
  298. ; ║   Archive Information Line Parameters   ║
  299. ; ╚═════════════════════════════════════════╝
  300. ;
  301. ; If you want ULP to add a single line to the archive description, type YES;
  302. ; if not, type NO or comment the line out.
  303. INFO_LINE    yes
  304. ; The column where the | marker goes in your directory listing setup. The
  305. ; standard PCBoard setup indents to column 32.
  306. INFO_INDENT  32
  307. ; The format that you would like for the information line. The legal variables
  308. ; are:   @#@        Number of files in the archive (and nested archives)
  309. ;        @NEWEST@   Date of the newest file in the archive
  310. ;        @OLDEST@   Date of the oldest file in the archive
  311. ;        @BYTES@    The total number of bytes (uncompressed) in the archive
  312. INFO_FORMAT  (Files: @#@ Newest: @NEWEST@ Oldest: @OLDEST@)
  313. ;
  314. ;
  315. ; ╔════════════════════════════════╗
  316. ; ║   ULPTEST Testing Parameters   ║
  317. ; ╚════════════════════════════════╝
  318. ;
  319. ; This defines how ULPTEST processes archives. NORMAL indicates a full test
  320. ; is to be performed, identical to the ULP event processing except that the
  321. ; archive formats are not converted (this is a limitation of PCBoard).
  322. ; FAST indicates a fast test in which the archive is scanned for archive
  323. ; integrity, duplicates, and age without unpacking the archive (ARJ and ZIP
  324. ; files only). If this mode is used, it should be held for later processing
  325. ; by ULP so that it can be file-checked.
  326. TEST_MODE    normal
  327. ; If NORMAL mode is used, the archive's file size will first be compared
  328. ; against this limit (in kilobytes). If it is larger than this number of
  329. ; bytes (in kilobytes), it will be forced into FAST mode to speed the process
  330. ; and prevent wasting the user's online time. Entering 0, or commenting the
  331. ; line out will disable this feature.
  332. TEST_LIMIT     250
  333. ; If you want ULPTEST to output status information to the user on-line, set
  334. ; the following to YES; if not, enter NO or comment the line out.
  335. COMM_IO      yes
  336. ;
  337. ;
  338. ; ╔══════════════════════════╗
  339. ; ║   BBS Ads File Removal   ║
  340. ; ╚══════════════════════════╝
  341. ;
  342. ; If you want ULP to remove known BBS ads from new uploads during processing,
  343. ; type YES; if not, type NO or comment the line out.
  344. ADS_CHK      yes
  345. ; The directory path and name for the BBS ads database.
  346. ADS_DB       c:\ulp\ulpads.db
  347. ;
  348. ;
  349. ; ╔═══════════════════════════════╗
  350. ; ║   CRC-32 Duplicate Checking   ║
  351. ; ╚═══════════════════════════════╝
  352. ;
  353. ; If you want ULP to use its internal CRC-32 duplication checking, type YES;
  354. ; if not, type NO or comment the line out. If you want to use a third-party
  355. ; duplication checker, such as ZDCS, you can add it as a file checker (above),
  356. ; providing it returns DOS errorlevels so ULP can detect its success/failure.
  357. DUPE_CHK     yes
  358. ; The maximum percentage of duplication allowed for a file to pass. Anything
  359. ; larger will fail. This number should be at least 50, as some program authors
  360. ; don't modify every file, especially with maintenance releases.
  361. DUPE_LIMIT   75
  362. ; The directory path listing file for database generation. Generally, this
  363. ; will the DLPATH.LST file defined in PCBOARD.DAT.
  364. DUPE_LIST     c:\ulp\dlpath.lst
  365. ; The path and name for the main CRC-32 database file.
  366. DUPE_DB      c:\ulp\database.db
  367. ; The path and name for the main CRC-32 database file index.
  368. DUPE_IDX     c:\ulp\database.idx
  369. ; If you want ULP and ULPTEST to validate the CRC-32 database before using
  370. ; it, comment the line out or answer 'YES', otherwise answer 'NO'.
  371. DB_VALIDATE  yes
  372. ;
  373. ; End of ULP configuration file...
  374. ;
  375.